package com.salary.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="t_salary_formula")
public class SalaryFormula {//薪资计算规则实体类，实现关联关系
	private Long id;
	private float days;//月记薪天数
	private Integer countDay;//结算日期
	private float absenceIdx;
	private float leaveIdx;
	private float usualOTIdx;
	private float wkdOTIdx;
	private float lvOTIdx;
	private float perfIdx1;
	private float perfIdx2;
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	public Long getId() {
		return id;
	}
	
	public float getDays() {
		return days;
	}

	public Integer getCountDay() {
		return countDay;
	}

	public float getPerfIdx2() {
		return perfIdx2;
	}

	public void setPerfIdx2(float perfIdx2) {
		this.perfIdx2 = perfIdx2;
	}

	public float getAbsenceIdx() {
		return absenceIdx;
	}
	public float getLeaveIdx() {
		return leaveIdx;
	}
	public float getUsualOTIdx() {
		return usualOTIdx;
	}
	public float getWkdOTIdx() {
		return wkdOTIdx;
	}
	public float getLvOTIdx() {
		return lvOTIdx;
	}
	public float getPerfIdx1() {
		return perfIdx1;
	}
	public void setId(Long id) {
		this.id = id;
	}

	public void setAbsenceIdx(float absenceIdx) {
		this.absenceIdx = absenceIdx;
	}
	public void setLeaveIdx(float leaveIdx) {
		this.leaveIdx = leaveIdx;
	}
	public void setUsualOTIdx(float usualOTIdx) {
		this.usualOTIdx = usualOTIdx;
	}
	public void setWkdOTIdx(float wkdOTIdx) {
		this.wkdOTIdx = wkdOTIdx;
	}
	public void setLvOTIdx(float lvOTIdx) {
		this.lvOTIdx = lvOTIdx;
	}
	public void setPerfIdx1(float perfIdx1) {
		this.perfIdx1 = perfIdx1;
	}
	public void setDays(float days) {
		this.days = days;
	}

	public void setCountDay(Integer countDay) {
		this.countDay = countDay;
	}

}
